﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class GaussNewtonMinimizer
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class GaussNewtonMinimizer
   ">
    <meta name="generator" content="docfx 2.56.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CADability.GaussNewtonMinimizer">
  
  
  <h1 id="CADability_GaussNewtonMinimizer" data-uid="CADability.GaussNewtonMinimizer" class="text-break">Class GaussNewtonMinimizer
  </h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">GaussNewtonMinimizer</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CADability.html">CADability</a></h6>
  <h6><strong>Assembly</strong>: CADability.dll</h6>
  <h5 id="CADability_GaussNewtonMinimizer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GaussNewtonMinimizer</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer__ctor_CADability_GaussNewtonMinimizer_ErrorFunction_CADability_GaussNewtonMinimizer_JacobiFunction_CADability_GaussNewtonMinimizer_CheckParameterFunction_CADability_GaussNewtonMinimizer_CurtailParameterFunction_.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.%23ctor(CADability.GaussNewtonMinimizer.ErrorFunction%2CCADability.GaussNewtonMinimizer.JacobiFunction%2CCADability.GaussNewtonMinimizer.CheckParameterFunction%2CCADability.GaussNewtonMinimizer.CurtailParameterFunction)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L55">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer__ctor_" data-uid="CADability.GaussNewtonMinimizer.#ctor*"></a>
  <h4 id="CADability_GaussNewtonMinimizer__ctor_CADability_GaussNewtonMinimizer_ErrorFunction_CADability_GaussNewtonMinimizer_JacobiFunction_CADability_GaussNewtonMinimizer_CheckParameterFunction_CADability_GaussNewtonMinimizer_CurtailParameterFunction_" data-uid="CADability.GaussNewtonMinimizer.#ctor(CADability.GaussNewtonMinimizer.ErrorFunction,CADability.GaussNewtonMinimizer.JacobiFunction,CADability.GaussNewtonMinimizer.CheckParameterFunction,CADability.GaussNewtonMinimizer.CurtailParameterFunction)">GaussNewtonMinimizer(GaussNewtonMinimizer.ErrorFunction, GaussNewtonMinimizer.JacobiFunction, GaussNewtonMinimizer.CheckParameterFunction, GaussNewtonMinimizer.CurtailParameterFunction)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public GaussNewtonMinimizer(GaussNewtonMinimizer.ErrorFunction eFunction, GaussNewtonMinimizer.JacobiFunction jFunction, GaussNewtonMinimizer.CheckParameterFunction checkParameter = null, GaussNewtonMinimizer.CurtailParameterFunction curtailParameter = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GaussNewtonMinimizer.ErrorFunction.html">GaussNewtonMinimizer.ErrorFunction</a></td>
        <td><span class="parametername">eFunction</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GaussNewtonMinimizer.JacobiFunction.html">GaussNewtonMinimizer.JacobiFunction</a></td>
        <td><span class="parametername">jFunction</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GaussNewtonMinimizer.CheckParameterFunction.html">GaussNewtonMinimizer.CheckParameterFunction</a></td>
        <td><span class="parametername">checkParameter</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GaussNewtonMinimizer.CurtailParameterFunction.html">GaussNewtonMinimizer.CurtailParameterFunction</a></td>
        <td><span class="parametername">curtailParameter</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_CircleFit_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_System_Double_System_Double_CADability_GeoObject_Ellipse__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.CircleFit(CADability.IArray%7BCADability.GeoPoint%7D%2CCADability.GeoPoint%2CSystem.Double%2CSystem.Double%2CCADability.GeoObject.Ellipse%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L284">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_CircleFit_" data-uid="CADability.GaussNewtonMinimizer.CircleFit*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_CircleFit_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_System_Double_System_Double_CADability_GeoObject_Ellipse__" data-uid="CADability.GaussNewtonMinimizer.CircleFit(CADability.IArray{CADability.GeoPoint},CADability.GeoPoint,System.Double,System.Double,CADability.GeoObject.Ellipse@)">CircleFit(IArray&lt;GeoPoint&gt;, GeoPoint, Double, Double, out Ellipse)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double CircleFit(IArray&lt;GeoPoint&gt; points, GeoPoint center, double radius, double precision, out Ellipse elli)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.IArray-1.html">IArray</a>&lt;<a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>&gt;</td>
        <td><span class="parametername">points</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">center</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">radius</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.Ellipse.html">Ellipse</a></td>
        <td><span class="parametername">elli</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_ConeFit_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_CADability_GeoVector_System_Double_System_Double_CADability_GeoObject_ConicalSurface__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.ConeFit(CADability.IArray%7BCADability.GeoPoint%7D%2CCADability.GeoPoint%2CCADability.GeoVector%2CSystem.Double%2CSystem.Double%2CCADability.GeoObject.ConicalSurface%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L608">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_ConeFit_" data-uid="CADability.GaussNewtonMinimizer.ConeFit*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_ConeFit_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_CADability_GeoVector_System_Double_System_Double_CADability_GeoObject_ConicalSurface__" data-uid="CADability.GaussNewtonMinimizer.ConeFit(CADability.IArray{CADability.GeoPoint},CADability.GeoPoint,CADability.GeoVector,System.Double,System.Double,CADability.GeoObject.ConicalSurface@)">ConeFit(IArray&lt;GeoPoint&gt;, GeoPoint, GeoVector, Double, Double, out ConicalSurface)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double ConeFit(IArray&lt;GeoPoint&gt; points, GeoPoint apex, GeoVector axis, double theta, double precision, out ConicalSurface cs)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.IArray-1.html">IArray</a>&lt;<a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>&gt;</td>
        <td><span class="parametername">points</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">apex</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoVector.html">GeoVector</a></td>
        <td><span class="parametername">axis</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">theta</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ConicalSurface.html">ConicalSurface</a></td>
        <td><span class="parametername">cs</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_ConeFitNew_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_CADability_GeoVector_System_Double_System_Double_CADability_GeoObject_ConicalSurface__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.ConeFitNew(CADability.IArray%7BCADability.GeoPoint%7D%2CCADability.GeoPoint%2CCADability.GeoVector%2CSystem.Double%2CSystem.Double%2CCADability.GeoObject.ConicalSurface%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L556">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_ConeFitNew_" data-uid="CADability.GaussNewtonMinimizer.ConeFitNew*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_ConeFitNew_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_CADability_GeoVector_System_Double_System_Double_CADability_GeoObject_ConicalSurface__" data-uid="CADability.GaussNewtonMinimizer.ConeFitNew(CADability.IArray{CADability.GeoPoint},CADability.GeoPoint,CADability.GeoVector,System.Double,System.Double,CADability.GeoObject.ConicalSurface@)">ConeFitNew(IArray&lt;GeoPoint&gt;, GeoPoint, GeoVector, Double, Double, out ConicalSurface)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double ConeFitNew(IArray&lt;GeoPoint&gt; points, GeoPoint apex, GeoVector axis, double theta, double precision, out ConicalSurface cs)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.IArray-1.html">IArray</a>&lt;<a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>&gt;</td>
        <td><span class="parametername">points</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">apex</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoVector.html">GeoVector</a></td>
        <td><span class="parametername">axis</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">theta</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ConicalSurface.html">ConicalSurface</a></td>
        <td><span class="parametername">cs</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_ConeFitOld_CADability_GeoPoint___CADability_GeoPoint_CADability_GeoVector_System_Double_CADability_GeoObject_ConicalSurface__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.ConeFitOld(CADability.GeoPoint%5B%5D%2CCADability.GeoPoint%2CCADability.GeoVector%2CSystem.Double%2CCADability.GeoObject.ConicalSurface%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L701">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_ConeFitOld_" data-uid="CADability.GaussNewtonMinimizer.ConeFitOld*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_ConeFitOld_CADability_GeoPoint___CADability_GeoPoint_CADability_GeoVector_System_Double_CADability_GeoObject_ConicalSurface__" data-uid="CADability.GaussNewtonMinimizer.ConeFitOld(CADability.GeoPoint[],CADability.GeoPoint,CADability.GeoVector,System.Double,CADability.GeoObject.ConicalSurface@)">ConeFitOld(GeoPoint[], GeoPoint, GeoVector, Double, out ConicalSurface)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double ConeFitOld(GeoPoint[] points, GeoPoint apex, GeoVector axis, double theta, out ConicalSurface cs)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>[]</td>
        <td><span class="parametername">points</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">apex</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoVector.html">GeoVector</a></td>
        <td><span class="parametername">axis</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">theta</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ConicalSurface.html">ConicalSurface</a></td>
        <td><span class="parametername">cs</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_CylinderFit_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_CADability_GeoVector_System_Double_System_Double_CADability_GeoObject_CylindricalSurface__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.CylinderFit(CADability.IArray%7BCADability.GeoPoint%7D%2CCADability.GeoPoint%2CCADability.GeoVector%2CSystem.Double%2CSystem.Double%2CCADability.GeoObject.CylindricalSurface%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L1070">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_CylinderFit_" data-uid="CADability.GaussNewtonMinimizer.CylinderFit*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_CylinderFit_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_CADability_GeoVector_System_Double_System_Double_CADability_GeoObject_CylindricalSurface__" data-uid="CADability.GaussNewtonMinimizer.CylinderFit(CADability.IArray{CADability.GeoPoint},CADability.GeoPoint,CADability.GeoVector,System.Double,System.Double,CADability.GeoObject.CylindricalSurface@)">CylinderFit(IArray&lt;GeoPoint&gt;, GeoPoint, GeoVector, Double, Double, out CylindricalSurface)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double CylinderFit(IArray&lt;GeoPoint&gt; pnts, GeoPoint center, GeoVector axis, double radius, double precision, out CylindricalSurface cs)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.IArray-1.html">IArray</a>&lt;<a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>&gt;</td>
        <td><span class="parametername">pnts</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">center</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoVector.html">GeoVector</a></td>
        <td><span class="parametername">axis</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">radius</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.CylindricalSurface.html">CylindricalSurface</a></td>
        <td><span class="parametername">cs</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_CylinderFitOld_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_CADability_GeoVector_System_Double_System_Double_CADability_GeoObject_CylindricalSurface__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.CylinderFitOld(CADability.IArray%7BCADability.GeoPoint%7D%2CCADability.GeoPoint%2CCADability.GeoVector%2CSystem.Double%2CSystem.Double%2CCADability.GeoObject.CylindricalSurface%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L1279">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_CylinderFitOld_" data-uid="CADability.GaussNewtonMinimizer.CylinderFitOld*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_CylinderFitOld_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_CADability_GeoVector_System_Double_System_Double_CADability_GeoObject_CylindricalSurface__" data-uid="CADability.GaussNewtonMinimizer.CylinderFitOld(CADability.IArray{CADability.GeoPoint},CADability.GeoPoint,CADability.GeoVector,System.Double,System.Double,CADability.GeoObject.CylindricalSurface@)">CylinderFitOld(IArray&lt;GeoPoint&gt;, GeoPoint, GeoVector, Double, Double, out CylindricalSurface)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double CylinderFitOld(IArray&lt;GeoPoint&gt; pnts, GeoPoint center, GeoVector axis, double radius, double precision, out CylindricalSurface cs)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.IArray-1.html">IArray</a>&lt;<a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>&gt;</td>
        <td><span class="parametername">pnts</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">center</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoVector.html">GeoVector</a></td>
        <td><span class="parametername">axis</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">radius</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.CylindricalSurface.html">CylindricalSurface</a></td>
        <td><span class="parametername">cs</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_Ellipse2DFit_CADability_IArray_CADability_GeoPoint2D__CADability_GeoPoint2D_System_Double_System_Double_System_Double_System_Double_CADability_Curve2D_Ellipse2D__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.Ellipse2DFit(CADability.IArray%7BCADability.GeoPoint2D%7D%2CCADability.GeoPoint2D%2CSystem.Double%2CSystem.Double%2CSystem.Double%2CSystem.Double%2CCADability.Curve2D.Ellipse2D%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L356">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_Ellipse2DFit_" data-uid="CADability.GaussNewtonMinimizer.Ellipse2DFit*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_Ellipse2DFit_CADability_IArray_CADability_GeoPoint2D__CADability_GeoPoint2D_System_Double_System_Double_System_Double_System_Double_CADability_Curve2D_Ellipse2D__" data-uid="CADability.GaussNewtonMinimizer.Ellipse2DFit(CADability.IArray{CADability.GeoPoint2D},CADability.GeoPoint2D,System.Double,System.Double,System.Double,System.Double,CADability.Curve2D.Ellipse2D@)">Ellipse2DFit(IArray&lt;GeoPoint2D&gt;, GeoPoint2D, Double, Double, Double, Double, out Ellipse2D)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double Ellipse2DFit(IArray&lt;GeoPoint2D&gt; points2d, GeoPoint2D center2d, double majrad, double minrad, double angle, double precision, out Ellipse2D ellipse)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.IArray-1.html">IArray</a>&lt;<a class="xref" href="CADability.GeoPoint2D.html">GeoPoint2D</a>&gt;</td>
        <td><span class="parametername">points2d</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint2D.html">GeoPoint2D</a></td>
        <td><span class="parametername">center2d</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">majrad</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">minrad</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">angle</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Curve2D.Ellipse2D.html">Ellipse2D</a></td>
        <td><span class="parametername">ellipse</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_LineConnection_CADability_GeoPoint_CADability_GeoVector_CADability_GeoPoint_CADability_GeoVector_System_Double_System_Double_System_Double__System_Double__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.LineConnection(CADability.GeoPoint%2CCADability.GeoVector%2CCADability.GeoPoint%2CCADability.GeoVector%2CSystem.Double%2CSystem.Double%2CSystem.Double%40%2CSystem.Double%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L1403">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_LineConnection_" data-uid="CADability.GaussNewtonMinimizer.LineConnection*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_LineConnection_CADability_GeoPoint_CADability_GeoVector_CADability_GeoPoint_CADability_GeoVector_System_Double_System_Double_System_Double__System_Double__" data-uid="CADability.GaussNewtonMinimizer.LineConnection(CADability.GeoPoint,CADability.GeoVector,CADability.GeoPoint,CADability.GeoVector,System.Double,System.Double,System.Double@,System.Double@)">LineConnection(GeoPoint, GeoVector, GeoPoint, GeoVector, Double, Double, out Double, out Double)</h4>
  <div class="markdown level1 summary"><p>p1,d1 and p2,d2 define two lines. Find a point on each line (s1,s2) so that the connection of these two points has the angle a1 to the first and a2 to the second line.
a1 and a2 are provided as cosinus of the angles</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double LineConnection(GeoPoint p1, GeoVector d1, GeoPoint p2, GeoVector d2, double a1, double a2, out double s1, out double s2)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">p1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoVector.html">GeoVector</a></td>
        <td><span class="parametername">d1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">p2</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoVector.html">GeoVector</a></td>
        <td><span class="parametername">d2</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">a1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">a2</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">s1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">s2</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_LineFit_CADability_IArray_CADability_GeoPoint__System_Double_CADability_GeoPoint__CADability_GeoVector__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.LineFit(CADability.IArray%7BCADability.GeoPoint%7D%2CSystem.Double%2CCADability.GeoPoint%40%2CCADability.GeoVector%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L196">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_LineFit_" data-uid="CADability.GaussNewtonMinimizer.LineFit*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_LineFit_CADability_IArray_CADability_GeoPoint__System_Double_CADability_GeoPoint__CADability_GeoVector__" data-uid="CADability.GaussNewtonMinimizer.LineFit(CADability.IArray{CADability.GeoPoint},System.Double,CADability.GeoPoint@,CADability.GeoVector@)">LineFit(IArray&lt;GeoPoint&gt;, Double, out GeoPoint, out GeoVector)</h4>
  <div class="markdown level1 summary"><p>Calculates the closest line approximating the provided <code data-dev-comment-type="paramref" class="paramref">points</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double LineFit(IArray&lt;GeoPoint&gt; points, double precision, out GeoPoint location, out GeoVector direction)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.IArray-1.html">IArray</a>&lt;<a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>&gt;</td>
        <td><span class="parametername">points</span></td>
        <td><p>Points to be approximated by the line</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">location</span></td>
        <td><p>Location of the line</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoVector.html">GeoVector</a></td>
        <td><span class="parametername">direction</span></td>
        <td><p>direction of the line</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><p>maximum distance to the line</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_PlaneFit_CADability_IArray_CADability_GeoPoint__System_Double_CADability_Plane__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.PlaneFit(CADability.IArray%7BCADability.GeoPoint%7D%2CSystem.Double%2CCADability.Plane%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L471">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_PlaneFit_" data-uid="CADability.GaussNewtonMinimizer.PlaneFit*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_PlaneFit_CADability_IArray_CADability_GeoPoint__System_Double_CADability_Plane__" data-uid="CADability.GaussNewtonMinimizer.PlaneFit(CADability.IArray{CADability.GeoPoint},System.Double,CADability.Plane@)">PlaneFit(IArray&lt;GeoPoint&gt;, Double, out Plane)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double PlaneFit(IArray&lt;GeoPoint&gt; points, double precision, out Plane plane)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.IArray-1.html">IArray</a>&lt;<a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>&gt;</td>
        <td><span class="parametername">points</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Plane.html">Plane</a></td>
        <td><span class="parametername">plane</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_QuadricFit_CADability_IArray_CADability_GeoPoint__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.QuadricFit(CADability.IArray%7BCADability.GeoPoint%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L1163">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_QuadricFit_" data-uid="CADability.GaussNewtonMinimizer.QuadricFit*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_QuadricFit_CADability_IArray_CADability_GeoPoint__" data-uid="CADability.GaussNewtonMinimizer.QuadricFit(CADability.IArray{CADability.GeoPoint})">QuadricFit(IArray&lt;GeoPoint&gt;)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double QuadricFit(IArray&lt;GeoPoint&gt; pnts)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.IArray-1.html">IArray</a>&lt;<a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>&gt;</td>
        <td><span class="parametername">pnts</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_Solve_System_Double___System_Int32_System_Double_System_Double_System_Double__System_Int32__System_Double____.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.Solve(System.Double%5B%5D%2CSystem.Int32%2CSystem.Double%2CSystem.Double%2CSystem.Double%40%2CSystem.Int32%40%2CSystem.Double%5B%5D%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L112">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_Solve_" data-uid="CADability.GaussNewtonMinimizer.Solve*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_Solve_System_Double___System_Int32_System_Double_System_Double_System_Double__System_Int32__System_Double____" data-uid="CADability.GaussNewtonMinimizer.Solve(System.Double[],System.Int32,System.Double,System.Double,System.Double@,System.Int32@,System.Double[]@)">Solve(Double[], Int32, Double, Double, out Double, out Int32, out Double[])</h4>
  <div class="markdown level1 summary"><p>Solves the Gauss Newton approximation with the given <code data-dev-comment-type="paramref" class="paramref">startParameters</code> and the error function and Jacobi matrix as specified in the constructor.
Returns the result in <code data-dev-comment-type="paramref" class="paramref">parameters</code> and returns true, if the error function of the result is less than <code data-dev-comment-type="paramref" class="paramref">errorTolerance</code>.
The iteration doesn't stop when <code data-dev-comment-type="paramref" class="paramref">errorTolerance</code> is reached, but goes on until no more improvement of the result ocurres.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool Solve(double[] startParameters, int maxIterations, double updateLengthTolerance, double errorTolerance, out double minError, out int numIterations, out double[] parameters)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span>[]</td>
        <td><span class="parametername">startParameters</span></td>
        <td><p>start parameters</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">maxIterations</span></td>
        <td><p>maximum number of iterations</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">updateLengthTolerance</span></td>
        <td><p>not used</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">errorTolerance</span></td>
        <td><p>maximum error for positiv result</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">minError</span></td>
        <td><p>effective error</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">numIterations</span></td>
        <td><p>number of iterations used</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span>[]</td>
        <td><span class="parametername">parameters</span></td>
        <td><p>resulting parameters</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_SphereFit_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_System_Double_System_Double_CADability_GeoObject_SphericalSurface__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.SphereFit(CADability.IArray%7BCADability.GeoPoint%7D%2CCADability.GeoPoint%2CSystem.Double%2CSystem.Double%2CCADability.GeoObject.SphericalSurface%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L928">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_SphereFit_" data-uid="CADability.GaussNewtonMinimizer.SphereFit*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_SphereFit_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_System_Double_System_Double_CADability_GeoObject_SphericalSurface__" data-uid="CADability.GaussNewtonMinimizer.SphereFit(CADability.IArray{CADability.GeoPoint},CADability.GeoPoint,System.Double,System.Double,CADability.GeoObject.SphericalSurface@)">SphereFit(IArray&lt;GeoPoint&gt;, GeoPoint, Double, Double, out SphericalSurface)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double SphereFit(IArray&lt;GeoPoint&gt; pnts, GeoPoint center, double radius, double precision, out SphericalSurface ss)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.IArray-1.html">IArray</a>&lt;<a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>&gt;</td>
        <td><span class="parametername">pnts</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">center</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">radius</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.SphericalSurface.html">SphericalSurface</a></td>
        <td><span class="parametername">ss</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_SphereRadiusFit_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_System_Double_System_Double_CADability_GeoObject_SphericalSurface__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.SphereRadiusFit(CADability.IArray%7BCADability.GeoPoint%7D%2CCADability.GeoPoint%2CSystem.Double%2CSystem.Double%2CCADability.GeoObject.SphericalSurface%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L976">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_SphereRadiusFit_" data-uid="CADability.GaussNewtonMinimizer.SphereRadiusFit*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_SphereRadiusFit_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_System_Double_System_Double_CADability_GeoObject_SphericalSurface__" data-uid="CADability.GaussNewtonMinimizer.SphereRadiusFit(CADability.IArray{CADability.GeoPoint},CADability.GeoPoint,System.Double,System.Double,CADability.GeoObject.SphericalSurface@)">SphereRadiusFit(IArray&lt;GeoPoint&gt;, GeoPoint, Double, Double, out SphericalSurface)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double SphereRadiusFit(IArray&lt;GeoPoint&gt; pnts, GeoPoint center, double radius, double precision, out SphericalSurface ss)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.IArray-1.html">IArray</a>&lt;<a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>&gt;</td>
        <td><span class="parametername">pnts</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">center</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">radius</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.SphericalSurface.html">SphericalSurface</a></td>
        <td><span class="parametername">ss</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_SurfaceCurveExtrema_CADability_GeoObject_ISurface_CADability_BoundingRect_CADability_GeoObject_ICurve_System_Double_System_Double_CADability_GeoPoint2D__System_Double__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.SurfaceCurveExtrema(CADability.GeoObject.ISurface%2CCADability.BoundingRect%2CCADability.GeoObject.ICurve%2CSystem.Double%2CSystem.Double%2CCADability.GeoPoint2D%40%2CSystem.Double%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L1580">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_SurfaceCurveExtrema_" data-uid="CADability.GaussNewtonMinimizer.SurfaceCurveExtrema*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_SurfaceCurveExtrema_CADability_GeoObject_ISurface_CADability_BoundingRect_CADability_GeoObject_ICurve_System_Double_System_Double_CADability_GeoPoint2D__System_Double__" data-uid="CADability.GaussNewtonMinimizer.SurfaceCurveExtrema(CADability.GeoObject.ISurface,CADability.BoundingRect,CADability.GeoObject.ICurve,System.Double,System.Double,CADability.GeoPoint2D@,System.Double@)">SurfaceCurveExtrema(ISurface, BoundingRect, ICurve, Double, Double, ref GeoPoint2D, ref Double)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double SurfaceCurveExtrema(ISurface surface1, BoundingRect bounds1, ICurve curve2, double curveUmin, double curveUmax, ref GeoPoint2D uv1, ref double u2)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ISurface.html">ISurface</a></td>
        <td><span class="parametername">surface1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.BoundingRect.html">BoundingRect</a></td>
        <td><span class="parametername">bounds1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">curve2</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">curveUmin</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">curveUmax</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint2D.html">GeoPoint2D</a></td>
        <td><span class="parametername">uv1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">u2</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_SurfaceExtrema_CADability_GeoObject_ISurface_CADability_BoundingRect_CADability_GeoObject_ISurface_CADability_BoundingRect_CADability_GeoPoint2D__CADability_GeoPoint2D__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.SurfaceExtrema(CADability.GeoObject.ISurface%2CCADability.BoundingRect%2CCADability.GeoObject.ISurface%2CCADability.BoundingRect%2CCADability.GeoPoint2D%40%2CCADability.GeoPoint2D%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L1448">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_SurfaceExtrema_" data-uid="CADability.GaussNewtonMinimizer.SurfaceExtrema*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_SurfaceExtrema_CADability_GeoObject_ISurface_CADability_BoundingRect_CADability_GeoObject_ISurface_CADability_BoundingRect_CADability_GeoPoint2D__CADability_GeoPoint2D__" data-uid="CADability.GaussNewtonMinimizer.SurfaceExtrema(CADability.GeoObject.ISurface,CADability.BoundingRect,CADability.GeoObject.ISurface,CADability.BoundingRect,CADability.GeoPoint2D@,CADability.GeoPoint2D@)">SurfaceExtrema(ISurface, BoundingRect, ISurface, BoundingRect, ref GeoPoint2D, ref GeoPoint2D)</h4>
  <div class="markdown level1 summary"><p>Calculates a uv points on each provided surface, so that the connection of the two points is perpendicular to the surfaces at these points.
Starts a GaussNewton approximation in the center of the provided parameter bounds</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double SurfaceExtrema(ISurface surface1, BoundingRect bounds1, ISurface surface2, BoundingRect bounds2, ref GeoPoint2D uv1, ref GeoPoint2D uv2)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ISurface.html">ISurface</a></td>
        <td><span class="parametername">surface1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.BoundingRect.html">BoundingRect</a></td>
        <td><span class="parametername">bounds1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ISurface.html">ISurface</a></td>
        <td><span class="parametername">surface2</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.BoundingRect.html">BoundingRect</a></td>
        <td><span class="parametername">bounds2</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint2D.html">GeoPoint2D</a></td>
        <td><span class="parametername">uv1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint2D.html">GeoPoint2D</a></td>
        <td><span class="parametername">uv2</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_ThreeCurveIntersection_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_System_Double__System_Double__System_Double__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.ThreeCurveIntersection(CADability.GeoObject.ICurve%2CCADability.GeoObject.ICurve%2CCADability.GeoObject.ICurve%2CSystem.Double%40%2CSystem.Double%40%2CSystem.Double%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L1021">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_ThreeCurveIntersection_" data-uid="CADability.GaussNewtonMinimizer.ThreeCurveIntersection*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_ThreeCurveIntersection_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_System_Double__System_Double__System_Double__" data-uid="CADability.GaussNewtonMinimizer.ThreeCurveIntersection(CADability.GeoObject.ICurve,CADability.GeoObject.ICurve,CADability.GeoObject.ICurve,System.Double@,System.Double@,System.Double@)">ThreeCurveIntersection(ICurve, ICurve, ICurve, ref Double, ref Double, ref Double)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double ThreeCurveIntersection(ICurve crv1, ICurve crv2, ICurve crv3, ref double u1, ref double u2, ref double u3)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">crv1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">crv2</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">crv3</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">u1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">u2</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">u3</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer_TorusFit_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_CADability_GeoVector_System_Double_System_Double_CADability_GeoObject_ToroidalSurface__.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer.TorusFit(CADability.IArray%7BCADability.GeoPoint%7D%2CCADability.GeoPoint%2CCADability.GeoVector%2CSystem.Double%2CSystem.Double%2CCADability.GeoObject.ToroidalSurface%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L809">View Source</a>
  </span>
  <a id="CADability_GaussNewtonMinimizer_TorusFit_" data-uid="CADability.GaussNewtonMinimizer.TorusFit*"></a>
  <h4 id="CADability_GaussNewtonMinimizer_TorusFit_CADability_IArray_CADability_GeoPoint__CADability_GeoPoint_CADability_GeoVector_System_Double_System_Double_CADability_GeoObject_ToroidalSurface__" data-uid="CADability.GaussNewtonMinimizer.TorusFit(CADability.IArray{CADability.GeoPoint},CADability.GeoPoint,CADability.GeoVector,System.Double,System.Double,CADability.GeoObject.ToroidalSurface@)">TorusFit(IArray&lt;GeoPoint&gt;, GeoPoint, GeoVector, Double, Double, out ToroidalSurface)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double TorusFit(IArray&lt;GeoPoint&gt; points, GeoPoint center, GeoVector axis, double minrad, double precision, out ToroidalSurface ts)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.IArray-1.html">IArray</a>&lt;<a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>&gt;</td>
        <td><span class="parametername">points</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">center</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoVector.html">GeoVector</a></td>
        <td><span class="parametername">axis</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">minrad</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ToroidalSurface.html">ToroidalSurface</a></td>
        <td><span class="parametername">ts</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GaussNewtonMinimizer.md&amp;value=---%0Auid%3A%20CADability.GaussNewtonMinimizer%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/GaussNewtonMinimizer.cs/#L39" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
